package com.observe.self;

public class Client {

    public static void main(String[] args) {
        WenZhou wenZhou = new WenZhou();
        RealWeatherStation realWeatherStation = new RealWeatherStation();
        realWeatherStation.addInspect(wenZhou);
        realWeatherStation.setWeather("天气晴朗!");
        realWeatherStation.notifyInspects();
    }
}
